package asia.doing.common;

import java.util.UUID;

public class UUIDUtil {
    private String simpleUUID;




    public String getSimpleUUID() {
        return simpleUUID;
    }

    public String setSimpleUUID(){
        long time = System.currentTimeMillis();
        int random = (int) (Math.random() * Integer.MAX_VALUE);
        UUID uuid = new UUID(time, random);
        System.out.println("生成的UUID为:" + uuid);
        return uuid.toString();
    }

}
